package cn.iocoder.yudao.module.reading.controller.app.punch.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotEmpty;
import jakarta.validation.constraints.Size;
import lombok.Data;

import java.util.List;

/**
 * 打卡记录更新请求 VO
 *
 * @author 李晨
 */
@Schema(description = "打卡记录更新请求 VO")
@Data
public class PunchUpdateReqVO {

    @Schema(description = "阅读心得内容", requiredMode = Schema.RequiredMode.REQUIRED, example = "今天读了很有趣的故事，学到了很多新单词")
    @NotEmpty(message = "阅读心得不能为空")
    @Size(max = 500, message = "阅读心得长度不能超过500字符")
    private String commentText;

    @Schema(description = "今日阅读的绘本ID列表", example = "[1, 2, 3]")
    private List<Long> bookIds;

    @Schema(description = "是否公开显示", example = "true")
    private Boolean isPublic;

}
